package com.yanqu.road.entity.log;


import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_tomb_user_battle", desc = "秦始皇陵-战斗明细", autoSave = true, uploadCk = true)
public class LogTombUserBattle extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "活动Id")
    private int activityId;

    @FieldTypeAnnotation(desc = "商会id")
    private String unionUid;

    @FieldTypeAnnotation(desc = "当前层")
    private int floor;

    @FieldTypeAnnotation(desc = "坐标x")
    private int x;

    @FieldTypeAnnotation(desc = "坐标y")
    private int y;

    @FieldTypeAnnotation(desc = "hp")
    private long hp;

    @FieldTypeAnnotation(desc = "触发事件")
    private int eventId;

    @FieldTypeAnnotation(desc = "是否pvp")
    private int isPvp;

    @FieldTypeAnnotation(desc = "敌人id")
    private long battleId;

    @FieldTypeAnnotation(desc = "攻击")
    private long attack;

    @FieldTypeAnnotation(desc = "对手最高血量")

    private long rivalMaxHp;
    @FieldTypeAnnotation(desc = "对手当前血量")

    private long rivalHp;
    @FieldTypeAnnotation(desc = "是否击杀")

    private int isKill;

    @FieldTypeAnnotation(desc = "消耗体力")
    private int costEnergy;

    public LogTombUserBattle() {

    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public String getUnionUid() {
        return unionUid;
    }

    public void setUnionUid(String unionUid) {
        this.unionUid = unionUid;
    }

    public int getFloor() {
        return floor;
    }

    public void setFloor(int floor) {
        this.floor = floor;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public long getHp() {
        return hp;
    }

    public void setHp(long hp) {
        this.hp = hp;
    }

    public int getEventId() {
        return eventId;
    }

    public void setEventId(int eventId) {
        this.eventId = eventId;
    }

    public int getIsPvp() {
        return isPvp;
    }

    public void setIsPvp(int isPvp) {
        this.isPvp = isPvp;
    }

    public long getBattleId() {
        return battleId;
    }

    public void setBattleId(long battleId) {
        this.battleId = battleId;
    }

    public long getAttack() {
        return attack;
    }

    public void setAttack(long attack) {
        this.attack = attack;
    }

    public long getRivalMaxHp() {
        return rivalMaxHp;
    }

    public void setRivalMaxHp(long rivalMaxHp) {
        this.rivalMaxHp = rivalMaxHp;
    }

    public long getRivalHp() {
        return rivalHp;
    }

    public void setRivalHp(long rivalHp) {
        this.rivalHp = rivalHp;
    }

    public int getIsKill() {
        return isKill;
    }

    public void setIsKill(int isKill) {
        this.isKill = isKill;
    }

    public int getCostEnergy() {
        return costEnergy;
    }

    public void setCostEnergy(int costEnergy) {
        this.costEnergy = costEnergy;
    }
}
